$(function(){
	if(document.getElementById('menuItemId').value == 'homeMenuItem'){
		$('#tabs div').hide();
		$('#blog-news-content').show();
		$('#blog-news').css({'top':'0px'});
		$('#blog-news-l a').css({'color':'white'});
	}
	if(document.getElementById('menuItemId').value == 'linkMenuItem'){
		$('#tabs div').hide();
		$('#links-content').show();
		$('#links').css({'top':'0px'});
		$('#links-l a').css({'color':'white'});
	}
	if(document.getElementById('menuItemId').value == 'weDidMenuItem'){
		$('#tabs div').hide();
		$('#w-did-content').show();
		$('#w-did').css({'top':'0px'});
		$('#w-did-l a').css({'color':'white'});
	}
	if(document.getElementById('menuItemId').value == 'weDoMenuItem'){
		$('#tabs div').hide();
		$('#w-do-content').show();
		$('#w-do').css({'top':'0px'});
		$('#w-do-l a').css({'color':'white'});
	}
	if(document.getElementById('menuItemId').value == 'downloadsMenuItem'){
		$('#tabs div').hide();
		$('#downloads-content').show();
		$('#downloads').css({'top':'0px'});
		$('#downloads-l a').css({'color':'white'});
	}
	if(document.getElementById('menuItemId').value == 'aboutusMenuItem'){
		$('#tabs div').hide();
		$('#about-us-content').show();
		$('#about-us').css({'top':'0px'});
		$('#about-us-l a').css({'color':'white'});
	}
	if(document.getElementById('menuItemId').value == 'contactusMenuItem'){
		$('#tabs div').hide();
		$('#contact-us-content').show();
		$('#contact-us').css({'top':'0px'});
		$('#contact-us-l a').css({'color':'white'});
	}
	
	if(document.getElementById('menuItemId').value != 'homeMenuItem'){
	$('#blog-news-l').mouseover(function(){
		$('#blog-news').stop().animate({top:"0px"}, {duration:200});
		$('#blog-news-l a').css({'color':'white'});
	}).mouseout(function(){
		$('#blog-news').stop().animate({top:"35px"}, {duration:200, complete:function(){
			$('#blog-news').css({top:"35px"});
			$('#blog-news-l a').css({'color':'#8ed3b6'});
		}});
	});
	}
	
	if(document.getElementById('menuItemId').value != 'wdidMenuItem'){
		$('#w-did-l').mouseover(function(){
			$('#w-did').stop().animate({top:"0px"}, {duration:200});
			$('#w-did-l a').css({'color':'white'});
		}).mouseout(function(){
			$('#w-did').stop().animate({top:"35px"}, {duration:200, complete:function(){
				$('#w-did').css({top:"35px"});
				$('#w-did-l a').css({'color':'#8ed3b6'});
			}});
		});
	}
	
	if(document.getElementById('menuItemId').value != 'wdoMenuItem'){
		$('#w-do-l').mouseover(function(){
			$('#w-do').stop().animate({top:"0px"}, {duration:200});
			$('#w-do-l a').css({'color':'white'});
		}).mouseout(function(){
			$('#w-do').stop().animate({top:"35px"}, {duration:200, complete:function(){
				$('#w-do').css({top:"35px"});
				$('#w-do-l a').css({'color':'#8ed3b6'});
			}});
		});
	}
	
	if(document.getElementById('menuItemId').value != 'downloadsMenuItem'){
		$('#downloads-l').mouseover(function(){
			$('#downloads').stop().animate({top:"0px"}, {duration:200});
			$('#downloads-l a').css({'color':'white'});
		}).mouseout(function(){
			$('#downloads').stop().animate({top:"35px"}, {duration:200, complete:function(){
				$('#downloads').css({top:"35px"});
				$('#downloads-l a').css({'color':'#8ed3b6'});
			}});
		});
	}
	
	if(document.getElementById('menuItemId').value != 'aboutusMenuItem'){
		$('#about-us-l').mouseover(function(){
			$('#about-us').stop().animate({top:"0px"}, {duration:200});
			$('#about-us-l a').css({'color':'white'});
		}).mouseout(function(){
			$('#about-us').stop().animate({top:"35px"}, {duration:200, complete:function(){
				$('#about-us').css({top:"35px"});
				$('#about-us-l a').css({'color':'#8ed3b6'});
			}});
		});
	}
	
	if(document.getElementById('menuItemId').value != 'contactusMenuItem'){
		$('#contact-us-l').mouseover(function(){
			$('#contact-us').stop().animate({top:"0px"}, {duration:200});
			$('#contact-us-l a').css({'color':'white'});
		}).mouseout(function(){
			$('#contact-us').stop().animate({top:"35px"}, {duration:200, complete:function(){
				$('#contact-us').css({top:"35px"});
				$('#contact-us-l a').css({'color':'#8ed3b6'});
			}});
		});
	}
	
	if(document.getElementById('menuItemId').value != 'linkMenuItem'){
	$('#links-l').mouseover(function(){
		$('#links').stop().animate({top:"0px"}, {duration:200});
		$('#links-l a').css({'color':'white'});
	}).mouseout(function(){
		$('#links').stop().animate({top:"35px"}, {duration:200, complete:function(){
			$('#links').css({top:"35px"});
			$('#links-l a').css({'color':'#8ed3b6'});
		}});
	});
	}
	
});